package com.ldc.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

/**
 * 功能描述
 *
 * @author liudi
 * @since 2023/8/5
 */
@Data
@ToString
@TableName("location")
public class Location {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField
    private Long lat;
    @TableField
    private Long lng;
    @TableField
    private String country;
    @TableField
    private String province;
    @TableField
    private String city;
    @TableField
    private String address;
    @TableField
    private String userId;
    @TableField
    private String userName;
    @TableField
    private Long changeTime;
    @TableField
    private Long createTime;
}
